package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.season.SeasonRewardData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.Map;

public class SeasonRewardBusiness {

    public static Map<Integer, Map<Integer, SeasonRewardData>> getSeasonRewardDataMap(long userId, int systemId, int seasonId) {
        return DaoHelper.getSeasonRewardDataDaoImpl().getSeasonRewardDataMap(userId, systemId, seasonId);
    }

    public static boolean addSeasonRewardData(SeasonRewardData data) {
        return DaoHelper.getSeasonRewardDataDaoImpl().add(data);
    }

    public static boolean updateSeasonRewardData(SeasonRewardData data) {
        return DaoHelper.getSeasonRewardDataDaoImpl().update(data);
    }

    public static Map<Integer, SeasonRewardData> getWasheNoGetRewardZhanLingMap(long userId, int seasonId) {
        return DaoHelper.getSeasonRewardDataDaoImpl().getWasheNoGetRewardZhanLingMap(userId, seasonId);
    }

}
